def fn1():
    print('1111')


def wrapper(fn):
    def inner():
        print('前置扩展')
        fn()
        print('后置扩展')

    return inner


inner = wrapper(fn1)
inner()
